package com.zhuxiang.model;

import java.io.Serializable;

public class Student implements Serializable {
    private static final long serialVersionUID = 3666235563529346446L;
    private Integer id;
    private String userName;
    private String password;
    private String score;

    public Student() {
    }

    public Student(Integer id, String userName, String password) {
        this.id = id;
        this.userName = userName;
        this.password = password;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getScore() {
        return score;
    }

    public void setScore(String score) {
        this.score = score;
    }

    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", userName='" + userName + '\'' +
                ", password='" + password + '\'' +
                ", score='" + score + '\'' +
                '}';
    }
}
